package com.kingdee.eas.mx.basedata.master;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PayTermFactory
{
    private PayTermFactory()
    {
    }
    public static com.kingdee.eas.mx.basedata.master.IPayTerm getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.basedata.master.IPayTerm)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("ADEFEE50") ,com.kingdee.eas.mx.basedata.master.IPayTerm.class);
    }
    
    public static com.kingdee.eas.mx.basedata.master.IPayTerm getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.basedata.master.IPayTerm)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("ADEFEE50") ,com.kingdee.eas.mx.basedata.master.IPayTerm.class, objectCtx);
    }
    public static com.kingdee.eas.mx.basedata.master.IPayTerm getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.basedata.master.IPayTerm)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("ADEFEE50"));
    }
    public static com.kingdee.eas.mx.basedata.master.IPayTerm getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.basedata.master.IPayTerm)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("ADEFEE50"));
    }
}